AmeliaBooking\Application\Services\Reservation\AbstractReservationService D

Total Complexity 207
Dependencies 42
Dependents 0
Total lines 1,157
Lines of code 704
Logical lines of code 309
Comment lines 236
Methods 24
Properties 1

Methods 24

Method Rating Maintainability Complexity Lines of code
processBooking()
D
25
50 136
finalize()
C
30 26 129
addPayment()
C
35 29 75
processRequest()
B
38 22 66
runPostBookingActions()
B
37 21 72
getSuccessBookingResponse()
A
40 5 70
getWcStatus()
S
59 7 12
deleteReservation()
S
58 6 17
getResultData()
S
55 5 21
deleteSingleReservation()
S
55 5 20
applyDeposit()
S
65 6 9
getTax()
S
67 4 7
getCouponDiscountAmount()
S
71 3 5
getTaxRate()
S
64 3 10
getTaxAmount()
S
65 3 9
inspectMinimumCancellationTime()
S
61 2 13
deleteUserIfNew()
S
71 2 6
setToken()
S
68 2 7
getProvidersPaymentAmount()
S
82 1 3
__construct()
S
81 1 3
getNew()
S
68 1 7
getPaymentAmount()
S
100 1 0
manageException()
S
69 1 7
manageTaxes()
S
100 1 0